package com.wxy.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.wxy.dao.userMapper;
import com.wxy.domain.User;
import com.wxy.domain.jwtUser;

@Component("jwtService")
public class jwtServiceImpl {
	@Autowired
	private userMapper userMapper;
	public User findUser(jwtUser jwtUser) {
		return userMapper.findJwtUser(jwtUser);
	}
	public User findById(int id) {
		return userMapper.findById(id);
	}
}
